package com.xjrh.traintravel.collector.mq.msg;

import java.io.Serializable;
import java.util.Date;

/**
 * 列车-MVB数据
 *
 * @author snps
 * @create 2022-09-17 9:22
 * @describe
 **/
public class TrainMvbData implements Serializable {

    private static final long serialVersionUID = -7458957779021055026L;


    /** 列车ID */
    private Long trainId;

    /** 主机设备编号 */
    private String equipmentNo;

    /** 在线状态（1-在线，0-离线） */
    private Integer onlineStatus;

    /** A0#2-1车激活/6车激活 */
    private Integer tcActivation;

    /** C0#6-列车号 */
    private Integer carriageNo;

    /** C0#8-运行模式 */
    private Integer runningMode;

    /** C0#10-总里程 */
    private String totalMileage;

    /** C0#14-当前车站编号 */
    private String currentStation;

    /** C0#16-下一车站编号 */
    private String nextStation;

    /** C0#18-起始车站编号 */
    private String startStation;

    /** C0#20-终点车站编号 */
    private String endStation;

    /** C0#23-速度（1=0.01 km/h） */
    private Integer speed;

    /** 运行方向（上行、下行） */
    private String runningDirection;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    /** 列车编号 */
    private String trainNo;


    /**
     * Getter and Setter
     */
    public Long getTrainId() {
        return trainId;
    }

    public void setTrainId(Long trainId) {
        this.trainId = trainId;
    }

    public String getEquipmentNo() {
        return equipmentNo;
    }

    public void setEquipmentNo(String equipmentNo) {
        this.equipmentNo = equipmentNo;
    }

    public Integer getOnlineStatus() {
        return onlineStatus;
    }

    public void setOnlineStatus(Integer onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    public Integer getTcActivation() {
        return tcActivation;
    }

    public void setTcActivation(Integer tcActivation) {
        this.tcActivation = tcActivation;
    }

    public Integer getCarriageNo() {
        return carriageNo;
    }

    public void setCarriageNo(Integer carriageNo) {
        this.carriageNo = carriageNo;
    }

    public Integer getRunningMode() {
        return runningMode;
    }

    public void setRunningMode(Integer runningMode) {
        this.runningMode = runningMode;
    }

    public String getTotalMileage() {
        return totalMileage;
    }

    public void setTotalMileage(String totalMileage) {
        this.totalMileage = totalMileage;
    }

    public String getCurrentStation() {
        return currentStation;
    }

    public void setCurrentStation(String currentStation) {
        this.currentStation = currentStation;
    }

    public String getNextStation() {
        return nextStation;
    }

    public void setNextStation(String nextStation) {
        this.nextStation = nextStation;
    }

    public String getStartStation() {
        return startStation;
    }

    public void setStartStation(String startStation) {
        this.startStation = startStation;
    }

    public String getEndStation() {
        return endStation;
    }

    public void setEndStation(String endStation) {
        this.endStation = endStation;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    public String getRunningDirection() {
        return runningDirection;
    }

    public void setRunningDirection(String runningDirection) {
        this.runningDirection = runningDirection;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getTrainNo() {
        return trainNo;
    }

    public void setTrainNo(String trainNo) {
        this.trainNo = trainNo;
    }

}